﻿<div class="modal fade" ng-class="{'in':$visible}" ng-show="$visible" style="display:block;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" ng-click="$close()"><span>×</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" ng-bind="$title"></h4>
            </div>
            <!--内容区域开始-->
            <div class="modal-body" style="overflow:auto;" ng-style="{'height':$height}">
                <div ng-repeat="item in $parent.Detail_Customer_ColumnHistoryList">
                    <div style="margin-top:10px;height:50px;line-height:50px;font-size:14px; border:1px solid #ddd;box-shadow:1px 1px 2px rgba(0,0,0,0.2);">
                        <p class="pull-left" style="margin-left:10px;">{{item.UpdateTime}}</p>
                        <p class="pull-left" style="margin-left:10px;font-size:12px;">{{item.UpdateUserOrg}}</p>
                        <p class="pull-left" style="margin-left:10px;font-size:12px;">{{item.UpdateUserName}}</p>
                        <p class="pull-left" style="margin-left:10px;">
                            将<span style="color:rgb(0,153,204);">【{{$parent.$parent.Detail_Customer_ColumnHistory_ColumnText}}】</span>
                            <span ng-show="item.UpdateType=='Create'" style="color:green;">创建为</span>
                            <span ng-show="item.UpdateType=='Update'" style="color:red;">修改为</span>
                        </p>
                        <p class="pull-left" style="margin-left:10px;font-size:12px;text-decoration:underline">{{item.NewValue}}</p>
                    </div>
                    <p ng-if="$index!=$parent.$parent.Detail_Customer_ColumnHistoryList.length-1" 
                       style="margin-top:10px;text-align:center;font-size:18px;color:rgb(248, 109, 10);">
                        <span class="glyphicon glyphicon-arrow-down animated flipInY"></span>
                    </p>
                </div>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" ng-click="$close()">关闭</button>
            </div>
            <!--内容区域结束-->
        </div>
    </div>
</div>